-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[Fleet] Add permissions to kibana_system to write logs-elastic_agent.status_change-* data stream
#129191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Pinging @elastic/es-core-infra (Team:Core/Infra) |
| .allowRestrictedIndices(true) | ||
| .build(), | ||
| // Fleet writes to this datastream for Agent status alerting feature | ||
| RoleDescriptor.IndicesPrivileges.builder().indices("logs-elastic_agent.status_change-*").privileges("all").build(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
questions:
- Is the functionality that relies on this permission available in all our offerings (on-prem, ECH, Serverless)?
- Are you planning to backport this change to 8.x?
- The linked issue says that
user needs permissions to **write**, do we really needallhere or we can just usewrite?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Yes
- No, this feature is planned for 9.2
- We need
allto include creating/deleting/managing the data stream too.
azasypkin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for answering clarifying questions and updating the kibana_system privileges spreadsheet.
Closes https://github.com/elastic/ingest-dev/issues/5634
Add permissions to
kibana_systemto writelogs-elastic_agent.status_change-*data stream.Required for a new feature to write Agent status to a new data stream for alerting.
gradle check? yes